//
//  UIBarButtonItem+JwCate.h
//  JwPack
//
//  Created by 陈警卫 on 2022/8/20.
//

#import <UIKit/UIKit.h>

@interface UIBarButtonItem (JwCate)

/// 自定义 UIBarButtonItem
/// @param image 图标
+ (UIBarButtonItem *)jw_itemWithTarget:(id)target action:(SEL)action image:(NSString *)image;

/// 自定义 UIBarButtonItem
/// @param image 图标
/// @param size 图标大小
+ (UIBarButtonItem *)jw_itemWithTarget:(id)target action:(SEL)action image:(NSString *)image size:(CGSize)size;

/// 自定义 UIBarButtonItem
/// @param title 标题
/// @param color 标题颜色
/// @param image 图标
+ (UIBarButtonItem *)jw_itemWithTarget:(id)target action:(SEL)action title:(NSString *)title titleColor:(UIColor *)color image:(NSString *)image;

@end

